package com.hy.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class AreaExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public AreaExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table area
     *
     * @mbggenerated Wed Sep 13 10:33:35 CST 2017
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andGuidIsNull() {
            addCriterion("guid is null");
            return (Criteria) this;
        }

        public Criteria andGuidIsNotNull() {
            addCriterion("guid is not null");
            return (Criteria) this;
        }

        public Criteria andGuidEqualTo(String value) {
            addCriterion("guid =", value, "guid");
            return (Criteria) this;
        }

        public Criteria andGuidNotEqualTo(String value) {
            addCriterion("guid <>", value, "guid");
            return (Criteria) this;
        }

        public Criteria andGuidGreaterThan(String value) {
            addCriterion("guid >", value, "guid");
            return (Criteria) this;
        }

        public Criteria andGuidGreaterThanOrEqualTo(String value) {
            addCriterion("guid >=", value, "guid");
            return (Criteria) this;
        }

        public Criteria andGuidLessThan(String value) {
            addCriterion("guid <", value, "guid");
            return (Criteria) this;
        }

        public Criteria andGuidLessThanOrEqualTo(String value) {
            addCriterion("guid <=", value, "guid");
            return (Criteria) this;
        }

        public Criteria andGuidLike(String value) {
            addCriterion("guid like", value, "guid");
            return (Criteria) this;
        }

        public Criteria andGuidNotLike(String value) {
            addCriterion("guid not like", value, "guid");
            return (Criteria) this;
        }

        public Criteria andGuidIn(List<String> values) {
            addCriterion("guid in", values, "guid");
            return (Criteria) this;
        }

        public Criteria andGuidNotIn(List<String> values) {
            addCriterion("guid not in", values, "guid");
            return (Criteria) this;
        }

        public Criteria andGuidBetween(String value1, String value2) {
            addCriterion("guid between", value1, value2, "guid");
            return (Criteria) this;
        }

        public Criteria andGuidNotBetween(String value1, String value2) {
            addCriterion("guid not between", value1, value2, "guid");
            return (Criteria) this;
        }

        public Criteria andParent_guidIsNull() {
            addCriterion("parent_guid is null");
            return (Criteria) this;
        }

        public Criteria andParent_guidIsNotNull() {
            addCriterion("parent_guid is not null");
            return (Criteria) this;
        }

        public Criteria andParent_guidEqualTo(String value) {
            addCriterion("parent_guid =", value, "parent_guid");
            return (Criteria) this;
        }

        public Criteria andParent_guidNotEqualTo(String value) {
            addCriterion("parent_guid <>", value, "parent_guid");
            return (Criteria) this;
        }

        public Criteria andParent_guidGreaterThan(String value) {
            addCriterion("parent_guid >", value, "parent_guid");
            return (Criteria) this;
        }

        public Criteria andParent_guidGreaterThanOrEqualTo(String value) {
            addCriterion("parent_guid >=", value, "parent_guid");
            return (Criteria) this;
        }

        public Criteria andParent_guidLessThan(String value) {
            addCriterion("parent_guid <", value, "parent_guid");
            return (Criteria) this;
        }

        public Criteria andParent_guidLessThanOrEqualTo(String value) {
            addCriterion("parent_guid <=", value, "parent_guid");
            return (Criteria) this;
        }

        public Criteria andParent_guidLike(String value) {
            addCriterion("parent_guid like", value, "parent_guid");
            return (Criteria) this;
        }

        public Criteria andParent_guidNotLike(String value) {
            addCriterion("parent_guid not like", value, "parent_guid");
            return (Criteria) this;
        }

        public Criteria andParent_guidIn(List<String> values) {
            addCriterion("parent_guid in", values, "parent_guid");
            return (Criteria) this;
        }

        public Criteria andParent_guidNotIn(List<String> values) {
            addCriterion("parent_guid not in", values, "parent_guid");
            return (Criteria) this;
        }

        public Criteria andParent_guidBetween(String value1, String value2) {
            addCriterion("parent_guid between", value1, value2, "parent_guid");
            return (Criteria) this;
        }

        public Criteria andParent_guidNotBetween(String value1, String value2) {
            addCriterion("parent_guid not between", value1, value2, "parent_guid");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andShort_nameIsNull() {
            addCriterion("short_name is null");
            return (Criteria) this;
        }

        public Criteria andShort_nameIsNotNull() {
            addCriterion("short_name is not null");
            return (Criteria) this;
        }

        public Criteria andShort_nameEqualTo(String value) {
            addCriterion("short_name =", value, "short_name");
            return (Criteria) this;
        }

        public Criteria andShort_nameNotEqualTo(String value) {
            addCriterion("short_name <>", value, "short_name");
            return (Criteria) this;
        }

        public Criteria andShort_nameGreaterThan(String value) {
            addCriterion("short_name >", value, "short_name");
            return (Criteria) this;
        }

        public Criteria andShort_nameGreaterThanOrEqualTo(String value) {
            addCriterion("short_name >=", value, "short_name");
            return (Criteria) this;
        }

        public Criteria andShort_nameLessThan(String value) {
            addCriterion("short_name <", value, "short_name");
            return (Criteria) this;
        }

        public Criteria andShort_nameLessThanOrEqualTo(String value) {
            addCriterion("short_name <=", value, "short_name");
            return (Criteria) this;
        }

        public Criteria andShort_nameLike(String value) {
            addCriterion("short_name like", value, "short_name");
            return (Criteria) this;
        }

        public Criteria andShort_nameNotLike(String value) {
            addCriterion("short_name not like", value, "short_name");
            return (Criteria) this;
        }

        public Criteria andShort_nameIn(List<String> values) {
            addCriterion("short_name in", values, "short_name");
            return (Criteria) this;
        }

        public Criteria andShort_nameNotIn(List<String> values) {
            addCriterion("short_name not in", values, "short_name");
            return (Criteria) this;
        }

        public Criteria andShort_nameBetween(String value1, String value2) {
            addCriterion("short_name between", value1, value2, "short_name");
            return (Criteria) this;
        }

        public Criteria andShort_nameNotBetween(String value1, String value2) {
            addCriterion("short_name not between", value1, value2, "short_name");
            return (Criteria) this;
        }

        public Criteria andEn_nameIsNull() {
            addCriterion("en_name is null");
            return (Criteria) this;
        }

        public Criteria andEn_nameIsNotNull() {
            addCriterion("en_name is not null");
            return (Criteria) this;
        }

        public Criteria andEn_nameEqualTo(String value) {
            addCriterion("en_name =", value, "en_name");
            return (Criteria) this;
        }

        public Criteria andEn_nameNotEqualTo(String value) {
            addCriterion("en_name <>", value, "en_name");
            return (Criteria) this;
        }

        public Criteria andEn_nameGreaterThan(String value) {
            addCriterion("en_name >", value, "en_name");
            return (Criteria) this;
        }

        public Criteria andEn_nameGreaterThanOrEqualTo(String value) {
            addCriterion("en_name >=", value, "en_name");
            return (Criteria) this;
        }

        public Criteria andEn_nameLessThan(String value) {
            addCriterion("en_name <", value, "en_name");
            return (Criteria) this;
        }

        public Criteria andEn_nameLessThanOrEqualTo(String value) {
            addCriterion("en_name <=", value, "en_name");
            return (Criteria) this;
        }

        public Criteria andEn_nameLike(String value) {
            addCriterion("en_name like", value, "en_name");
            return (Criteria) this;
        }

        public Criteria andEn_nameNotLike(String value) {
            addCriterion("en_name not like", value, "en_name");
            return (Criteria) this;
        }

        public Criteria andEn_nameIn(List<String> values) {
            addCriterion("en_name in", values, "en_name");
            return (Criteria) this;
        }

        public Criteria andEn_nameNotIn(List<String> values) {
            addCriterion("en_name not in", values, "en_name");
            return (Criteria) this;
        }

        public Criteria andEn_nameBetween(String value1, String value2) {
            addCriterion("en_name between", value1, value2, "en_name");
            return (Criteria) this;
        }

        public Criteria andEn_nameNotBetween(String value1, String value2) {
            addCriterion("en_name not between", value1, value2, "en_name");
            return (Criteria) this;
        }

        public Criteria andCity_codeIsNull() {
            addCriterion("city_code is null");
            return (Criteria) this;
        }

        public Criteria andCity_codeIsNotNull() {
            addCriterion("city_code is not null");
            return (Criteria) this;
        }

        public Criteria andCity_codeEqualTo(String value) {
            addCriterion("city_code =", value, "city_code");
            return (Criteria) this;
        }

        public Criteria andCity_codeNotEqualTo(String value) {
            addCriterion("city_code <>", value, "city_code");
            return (Criteria) this;
        }

        public Criteria andCity_codeGreaterThan(String value) {
            addCriterion("city_code >", value, "city_code");
            return (Criteria) this;
        }

        public Criteria andCity_codeGreaterThanOrEqualTo(String value) {
            addCriterion("city_code >=", value, "city_code");
            return (Criteria) this;
        }

        public Criteria andCity_codeLessThan(String value) {
            addCriterion("city_code <", value, "city_code");
            return (Criteria) this;
        }

        public Criteria andCity_codeLessThanOrEqualTo(String value) {
            addCriterion("city_code <=", value, "city_code");
            return (Criteria) this;
        }

        public Criteria andCity_codeLike(String value) {
            addCriterion("city_code like", value, "city_code");
            return (Criteria) this;
        }

        public Criteria andCity_codeNotLike(String value) {
            addCriterion("city_code not like", value, "city_code");
            return (Criteria) this;
        }

        public Criteria andCity_codeIn(List<String> values) {
            addCriterion("city_code in", values, "city_code");
            return (Criteria) this;
        }

        public Criteria andCity_codeNotIn(List<String> values) {
            addCriterion("city_code not in", values, "city_code");
            return (Criteria) this;
        }

        public Criteria andCity_codeBetween(String value1, String value2) {
            addCriterion("city_code between", value1, value2, "city_code");
            return (Criteria) this;
        }

        public Criteria andCity_codeNotBetween(String value1, String value2) {
            addCriterion("city_code not between", value1, value2, "city_code");
            return (Criteria) this;
        }

        public Criteria andZip_codeIsNull() {
            addCriterion("zip_code is null");
            return (Criteria) this;
        }

        public Criteria andZip_codeIsNotNull() {
            addCriterion("zip_code is not null");
            return (Criteria) this;
        }

        public Criteria andZip_codeEqualTo(String value) {
            addCriterion("zip_code =", value, "zip_code");
            return (Criteria) this;
        }

        public Criteria andZip_codeNotEqualTo(String value) {
            addCriterion("zip_code <>", value, "zip_code");
            return (Criteria) this;
        }

        public Criteria andZip_codeGreaterThan(String value) {
            addCriterion("zip_code >", value, "zip_code");
            return (Criteria) this;
        }

        public Criteria andZip_codeGreaterThanOrEqualTo(String value) {
            addCriterion("zip_code >=", value, "zip_code");
            return (Criteria) this;
        }

        public Criteria andZip_codeLessThan(String value) {
            addCriterion("zip_code <", value, "zip_code");
            return (Criteria) this;
        }

        public Criteria andZip_codeLessThanOrEqualTo(String value) {
            addCriterion("zip_code <=", value, "zip_code");
            return (Criteria) this;
        }

        public Criteria andZip_codeLike(String value) {
            addCriterion("zip_code like", value, "zip_code");
            return (Criteria) this;
        }

        public Criteria andZip_codeNotLike(String value) {
            addCriterion("zip_code not like", value, "zip_code");
            return (Criteria) this;
        }

        public Criteria andZip_codeIn(List<String> values) {
            addCriterion("zip_code in", values, "zip_code");
            return (Criteria) this;
        }

        public Criteria andZip_codeNotIn(List<String> values) {
            addCriterion("zip_code not in", values, "zip_code");
            return (Criteria) this;
        }

        public Criteria andZip_codeBetween(String value1, String value2) {
            addCriterion("zip_code between", value1, value2, "zip_code");
            return (Criteria) this;
        }

        public Criteria andZip_codeNotBetween(String value1, String value2) {
            addCriterion("zip_code not between", value1, value2, "zip_code");
            return (Criteria) this;
        }

        public Criteria andPin_yinIsNull() {
            addCriterion("pin_yin is null");
            return (Criteria) this;
        }

        public Criteria andPin_yinIsNotNull() {
            addCriterion("pin_yin is not null");
            return (Criteria) this;
        }

        public Criteria andPin_yinEqualTo(String value) {
            addCriterion("pin_yin =", value, "pin_yin");
            return (Criteria) this;
        }

        public Criteria andPin_yinNotEqualTo(String value) {
            addCriterion("pin_yin <>", value, "pin_yin");
            return (Criteria) this;
        }

        public Criteria andPin_yinGreaterThan(String value) {
            addCriterion("pin_yin >", value, "pin_yin");
            return (Criteria) this;
        }

        public Criteria andPin_yinGreaterThanOrEqualTo(String value) {
            addCriterion("pin_yin >=", value, "pin_yin");
            return (Criteria) this;
        }

        public Criteria andPin_yinLessThan(String value) {
            addCriterion("pin_yin <", value, "pin_yin");
            return (Criteria) this;
        }

        public Criteria andPin_yinLessThanOrEqualTo(String value) {
            addCriterion("pin_yin <=", value, "pin_yin");
            return (Criteria) this;
        }

        public Criteria andPin_yinLike(String value) {
            addCriterion("pin_yin like", value, "pin_yin");
            return (Criteria) this;
        }

        public Criteria andPin_yinNotLike(String value) {
            addCriterion("pin_yin not like", value, "pin_yin");
            return (Criteria) this;
        }

        public Criteria andPin_yinIn(List<String> values) {
            addCriterion("pin_yin in", values, "pin_yin");
            return (Criteria) this;
        }

        public Criteria andPin_yinNotIn(List<String> values) {
            addCriterion("pin_yin not in", values, "pin_yin");
            return (Criteria) this;
        }

        public Criteria andPin_yinBetween(String value1, String value2) {
            addCriterion("pin_yin between", value1, value2, "pin_yin");
            return (Criteria) this;
        }

        public Criteria andPin_yinNotBetween(String value1, String value2) {
            addCriterion("pin_yin not between", value1, value2, "pin_yin");
            return (Criteria) this;
        }

        public Criteria andJian_pinIsNull() {
            addCriterion("jian_pin is null");
            return (Criteria) this;
        }

        public Criteria andJian_pinIsNotNull() {
            addCriterion("jian_pin is not null");
            return (Criteria) this;
        }

        public Criteria andJian_pinEqualTo(String value) {
            addCriterion("jian_pin =", value, "jian_pin");
            return (Criteria) this;
        }

        public Criteria andJian_pinNotEqualTo(String value) {
            addCriterion("jian_pin <>", value, "jian_pin");
            return (Criteria) this;
        }

        public Criteria andJian_pinGreaterThan(String value) {
            addCriterion("jian_pin >", value, "jian_pin");
            return (Criteria) this;
        }

        public Criteria andJian_pinGreaterThanOrEqualTo(String value) {
            addCriterion("jian_pin >=", value, "jian_pin");
            return (Criteria) this;
        }

        public Criteria andJian_pinLessThan(String value) {
            addCriterion("jian_pin <", value, "jian_pin");
            return (Criteria) this;
        }

        public Criteria andJian_pinLessThanOrEqualTo(String value) {
            addCriterion("jian_pin <=", value, "jian_pin");
            return (Criteria) this;
        }

        public Criteria andJian_pinLike(String value) {
            addCriterion("jian_pin like", value, "jian_pin");
            return (Criteria) this;
        }

        public Criteria andJian_pinNotLike(String value) {
            addCriterion("jian_pin not like", value, "jian_pin");
            return (Criteria) this;
        }

        public Criteria andJian_pinIn(List<String> values) {
            addCriterion("jian_pin in", values, "jian_pin");
            return (Criteria) this;
        }

        public Criteria andJian_pinNotIn(List<String> values) {
            addCriterion("jian_pin not in", values, "jian_pin");
            return (Criteria) this;
        }

        public Criteria andJian_pinBetween(String value1, String value2) {
            addCriterion("jian_pin between", value1, value2, "jian_pin");
            return (Criteria) this;
        }

        public Criteria andJian_pinNotBetween(String value1, String value2) {
            addCriterion("jian_pin not between", value1, value2, "jian_pin");
            return (Criteria) this;
        }

        public Criteria andFirst_charIsNull() {
            addCriterion("first_char is null");
            return (Criteria) this;
        }

        public Criteria andFirst_charIsNotNull() {
            addCriterion("first_char is not null");
            return (Criteria) this;
        }

        public Criteria andFirst_charEqualTo(String value) {
            addCriterion("first_char =", value, "first_char");
            return (Criteria) this;
        }

        public Criteria andFirst_charNotEqualTo(String value) {
            addCriterion("first_char <>", value, "first_char");
            return (Criteria) this;
        }

        public Criteria andFirst_charGreaterThan(String value) {
            addCriterion("first_char >", value, "first_char");
            return (Criteria) this;
        }

        public Criteria andFirst_charGreaterThanOrEqualTo(String value) {
            addCriterion("first_char >=", value, "first_char");
            return (Criteria) this;
        }

        public Criteria andFirst_charLessThan(String value) {
            addCriterion("first_char <", value, "first_char");
            return (Criteria) this;
        }

        public Criteria andFirst_charLessThanOrEqualTo(String value) {
            addCriterion("first_char <=", value, "first_char");
            return (Criteria) this;
        }

        public Criteria andFirst_charLike(String value) {
            addCriterion("first_char like", value, "first_char");
            return (Criteria) this;
        }

        public Criteria andFirst_charNotLike(String value) {
            addCriterion("first_char not like", value, "first_char");
            return (Criteria) this;
        }

        public Criteria andFirst_charIn(List<String> values) {
            addCriterion("first_char in", values, "first_char");
            return (Criteria) this;
        }

        public Criteria andFirst_charNotIn(List<String> values) {
            addCriterion("first_char not in", values, "first_char");
            return (Criteria) this;
        }

        public Criteria andFirst_charBetween(String value1, String value2) {
            addCriterion("first_char between", value1, value2, "first_char");
            return (Criteria) this;
        }

        public Criteria andFirst_charNotBetween(String value1, String value2) {
            addCriterion("first_char not between", value1, value2, "first_char");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andLevelIsNull() {
            addCriterion("level is null");
            return (Criteria) this;
        }

        public Criteria andLevelIsNotNull() {
            addCriterion("level is not null");
            return (Criteria) this;
        }

        public Criteria andLevelEqualTo(String value) {
            addCriterion("level =", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelNotEqualTo(String value) {
            addCriterion("level <>", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelGreaterThan(String value) {
            addCriterion("level >", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelGreaterThanOrEqualTo(String value) {
            addCriterion("level >=", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelLessThan(String value) {
            addCriterion("level <", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelLessThanOrEqualTo(String value) {
            addCriterion("level <=", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelLike(String value) {
            addCriterion("level like", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelNotLike(String value) {
            addCriterion("level not like", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelIn(List<String> values) {
            addCriterion("level in", values, "level");
            return (Criteria) this;
        }

        public Criteria andLevelNotIn(List<String> values) {
            addCriterion("level not in", values, "level");
            return (Criteria) this;
        }

        public Criteria andLevelBetween(String value1, String value2) {
            addCriterion("level between", value1, value2, "level");
            return (Criteria) this;
        }

        public Criteria andLevelNotBetween(String value1, String value2) {
            addCriterion("level not between", value1, value2, "level");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Integer value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Integer value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Integer value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Integer value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Integer value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Integer> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Integer> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Integer value1, Integer value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andMerger_nameIsNull() {
            addCriterion("merger_name is null");
            return (Criteria) this;
        }

        public Criteria andMerger_nameIsNotNull() {
            addCriterion("merger_name is not null");
            return (Criteria) this;
        }

        public Criteria andMerger_nameEqualTo(String value) {
            addCriterion("merger_name =", value, "merger_name");
            return (Criteria) this;
        }

        public Criteria andMerger_nameNotEqualTo(String value) {
            addCriterion("merger_name <>", value, "merger_name");
            return (Criteria) this;
        }

        public Criteria andMerger_nameGreaterThan(String value) {
            addCriterion("merger_name >", value, "merger_name");
            return (Criteria) this;
        }

        public Criteria andMerger_nameGreaterThanOrEqualTo(String value) {
            addCriterion("merger_name >=", value, "merger_name");
            return (Criteria) this;
        }

        public Criteria andMerger_nameLessThan(String value) {
            addCriterion("merger_name <", value, "merger_name");
            return (Criteria) this;
        }

        public Criteria andMerger_nameLessThanOrEqualTo(String value) {
            addCriterion("merger_name <=", value, "merger_name");
            return (Criteria) this;
        }

        public Criteria andMerger_nameLike(String value) {
            addCriterion("merger_name like", value, "merger_name");
            return (Criteria) this;
        }

        public Criteria andMerger_nameNotLike(String value) {
            addCriterion("merger_name not like", value, "merger_name");
            return (Criteria) this;
        }

        public Criteria andMerger_nameIn(List<String> values) {
            addCriterion("merger_name in", values, "merger_name");
            return (Criteria) this;
        }

        public Criteria andMerger_nameNotIn(List<String> values) {
            addCriterion("merger_name not in", values, "merger_name");
            return (Criteria) this;
        }

        public Criteria andMerger_nameBetween(String value1, String value2) {
            addCriterion("merger_name between", value1, value2, "merger_name");
            return (Criteria) this;
        }

        public Criteria andMerger_nameNotBetween(String value1, String value2) {
            addCriterion("merger_name not between", value1, value2, "merger_name");
            return (Criteria) this;
        }

        public Criteria andMerger_short_nameIsNull() {
            addCriterion("merger_short_name is null");
            return (Criteria) this;
        }

        public Criteria andMerger_short_nameIsNotNull() {
            addCriterion("merger_short_name is not null");
            return (Criteria) this;
        }

        public Criteria andMerger_short_nameEqualTo(String value) {
            addCriterion("merger_short_name =", value, "merger_short_name");
            return (Criteria) this;
        }

        public Criteria andMerger_short_nameNotEqualTo(String value) {
            addCriterion("merger_short_name <>", value, "merger_short_name");
            return (Criteria) this;
        }

        public Criteria andMerger_short_nameGreaterThan(String value) {
            addCriterion("merger_short_name >", value, "merger_short_name");
            return (Criteria) this;
        }

        public Criteria andMerger_short_nameGreaterThanOrEqualTo(String value) {
            addCriterion("merger_short_name >=", value, "merger_short_name");
            return (Criteria) this;
        }

        public Criteria andMerger_short_nameLessThan(String value) {
            addCriterion("merger_short_name <", value, "merger_short_name");
            return (Criteria) this;
        }

        public Criteria andMerger_short_nameLessThanOrEqualTo(String value) {
            addCriterion("merger_short_name <=", value, "merger_short_name");
            return (Criteria) this;
        }

        public Criteria andMerger_short_nameLike(String value) {
            addCriterion("merger_short_name like", value, "merger_short_name");
            return (Criteria) this;
        }

        public Criteria andMerger_short_nameNotLike(String value) {
            addCriterion("merger_short_name not like", value, "merger_short_name");
            return (Criteria) this;
        }

        public Criteria andMerger_short_nameIn(List<String> values) {
            addCriterion("merger_short_name in", values, "merger_short_name");
            return (Criteria) this;
        }

        public Criteria andMerger_short_nameNotIn(List<String> values) {
            addCriterion("merger_short_name not in", values, "merger_short_name");
            return (Criteria) this;
        }

        public Criteria andMerger_short_nameBetween(String value1, String value2) {
            addCriterion("merger_short_name between", value1, value2, "merger_short_name");
            return (Criteria) this;
        }

        public Criteria andMerger_short_nameNotBetween(String value1, String value2) {
            addCriterion("merger_short_name not between", value1, value2, "merger_short_name");
            return (Criteria) this;
        }

        public Criteria andLngIsNull() {
            addCriterion("lng is null");
            return (Criteria) this;
        }

        public Criteria andLngIsNotNull() {
            addCriterion("lng is not null");
            return (Criteria) this;
        }

        public Criteria andLngEqualTo(String value) {
            addCriterion("lng =", value, "lng");
            return (Criteria) this;
        }

        public Criteria andLngNotEqualTo(String value) {
            addCriterion("lng <>", value, "lng");
            return (Criteria) this;
        }

        public Criteria andLngGreaterThan(String value) {
            addCriterion("lng >", value, "lng");
            return (Criteria) this;
        }

        public Criteria andLngGreaterThanOrEqualTo(String value) {
            addCriterion("lng >=", value, "lng");
            return (Criteria) this;
        }

        public Criteria andLngLessThan(String value) {
            addCriterion("lng <", value, "lng");
            return (Criteria) this;
        }

        public Criteria andLngLessThanOrEqualTo(String value) {
            addCriterion("lng <=", value, "lng");
            return (Criteria) this;
        }

        public Criteria andLngLike(String value) {
            addCriterion("lng like", value, "lng");
            return (Criteria) this;
        }

        public Criteria andLngNotLike(String value) {
            addCriterion("lng not like", value, "lng");
            return (Criteria) this;
        }

        public Criteria andLngIn(List<String> values) {
            addCriterion("lng in", values, "lng");
            return (Criteria) this;
        }

        public Criteria andLngNotIn(List<String> values) {
            addCriterion("lng not in", values, "lng");
            return (Criteria) this;
        }

        public Criteria andLngBetween(String value1, String value2) {
            addCriterion("lng between", value1, value2, "lng");
            return (Criteria) this;
        }

        public Criteria andLngNotBetween(String value1, String value2) {
            addCriterion("lng not between", value1, value2, "lng");
            return (Criteria) this;
        }

        public Criteria andLatIsNull() {
            addCriterion("lat is null");
            return (Criteria) this;
        }

        public Criteria andLatIsNotNull() {
            addCriterion("lat is not null");
            return (Criteria) this;
        }

        public Criteria andLatEqualTo(String value) {
            addCriterion("lat =", value, "lat");
            return (Criteria) this;
        }

        public Criteria andLatNotEqualTo(String value) {
            addCriterion("lat <>", value, "lat");
            return (Criteria) this;
        }

        public Criteria andLatGreaterThan(String value) {
            addCriterion("lat >", value, "lat");
            return (Criteria) this;
        }

        public Criteria andLatGreaterThanOrEqualTo(String value) {
            addCriterion("lat >=", value, "lat");
            return (Criteria) this;
        }

        public Criteria andLatLessThan(String value) {
            addCriterion("lat <", value, "lat");
            return (Criteria) this;
        }

        public Criteria andLatLessThanOrEqualTo(String value) {
            addCriterion("lat <=", value, "lat");
            return (Criteria) this;
        }

        public Criteria andLatLike(String value) {
            addCriterion("lat like", value, "lat");
            return (Criteria) this;
        }

        public Criteria andLatNotLike(String value) {
            addCriterion("lat not like", value, "lat");
            return (Criteria) this;
        }

        public Criteria andLatIn(List<String> values) {
            addCriterion("lat in", values, "lat");
            return (Criteria) this;
        }

        public Criteria andLatNotIn(List<String> values) {
            addCriterion("lat not in", values, "lat");
            return (Criteria) this;
        }

        public Criteria andLatBetween(String value1, String value2) {
            addCriterion("lat between", value1, value2, "lat");
            return (Criteria) this;
        }

        public Criteria andLatNotBetween(String value1, String value2) {
            addCriterion("lat not between", value1, value2, "lat");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andCreate_timeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreate_timeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreate_timeEqualTo(Date value) {
            addCriterion("create_time =", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeGreaterThan(Date value) {
            addCriterion("create_time >", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeLessThan(Date value) {
            addCriterion("create_time <", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeIn(List<Date> values) {
            addCriterion("create_time in", values, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreator_byIsNull() {
            addCriterion("creator_by is null");
            return (Criteria) this;
        }

        public Criteria andCreator_byIsNotNull() {
            addCriterion("creator_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreator_byEqualTo(String value) {
            addCriterion("creator_by =", value, "creator_by");
            return (Criteria) this;
        }

        public Criteria andCreator_byNotEqualTo(String value) {
            addCriterion("creator_by <>", value, "creator_by");
            return (Criteria) this;
        }

        public Criteria andCreator_byGreaterThan(String value) {
            addCriterion("creator_by >", value, "creator_by");
            return (Criteria) this;
        }

        public Criteria andCreator_byGreaterThanOrEqualTo(String value) {
            addCriterion("creator_by >=", value, "creator_by");
            return (Criteria) this;
        }

        public Criteria andCreator_byLessThan(String value) {
            addCriterion("creator_by <", value, "creator_by");
            return (Criteria) this;
        }

        public Criteria andCreator_byLessThanOrEqualTo(String value) {
            addCriterion("creator_by <=", value, "creator_by");
            return (Criteria) this;
        }

        public Criteria andCreator_byLike(String value) {
            addCriterion("creator_by like", value, "creator_by");
            return (Criteria) this;
        }

        public Criteria andCreator_byNotLike(String value) {
            addCriterion("creator_by not like", value, "creator_by");
            return (Criteria) this;
        }

        public Criteria andCreator_byIn(List<String> values) {
            addCriterion("creator_by in", values, "creator_by");
            return (Criteria) this;
        }

        public Criteria andCreator_byNotIn(List<String> values) {
            addCriterion("creator_by not in", values, "creator_by");
            return (Criteria) this;
        }

        public Criteria andCreator_byBetween(String value1, String value2) {
            addCriterion("creator_by between", value1, value2, "creator_by");
            return (Criteria) this;
        }

        public Criteria andCreator_byNotBetween(String value1, String value2) {
            addCriterion("creator_by not between", value1, value2, "creator_by");
            return (Criteria) this;
        }

        public Criteria andUpdate_timeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdate_timeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdate_timeEqualTo(Date value) {
            addCriterion("update_time =", value, "update_time");
            return (Criteria) this;
        }

        public Criteria andUpdate_timeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "update_time");
            return (Criteria) this;
        }

        public Criteria andUpdate_timeGreaterThan(Date value) {
            addCriterion("update_time >", value, "update_time");
            return (Criteria) this;
        }

        public Criteria andUpdate_timeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "update_time");
            return (Criteria) this;
        }

        public Criteria andUpdate_timeLessThan(Date value) {
            addCriterion("update_time <", value, "update_time");
            return (Criteria) this;
        }

        public Criteria andUpdate_timeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "update_time");
            return (Criteria) this;
        }

        public Criteria andUpdate_timeIn(List<Date> values) {
            addCriterion("update_time in", values, "update_time");
            return (Criteria) this;
        }

        public Criteria andUpdate_timeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "update_time");
            return (Criteria) this;
        }

        public Criteria andUpdate_timeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "update_time");
            return (Criteria) this;
        }

        public Criteria andUpdate_timeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "update_time");
            return (Criteria) this;
        }

        public Criteria andUpdate_byIsNull() {
            addCriterion("update_by is null");
            return (Criteria) this;
        }

        public Criteria andUpdate_byIsNotNull() {
            addCriterion("update_by is not null");
            return (Criteria) this;
        }

        public Criteria andUpdate_byEqualTo(String value) {
            addCriterion("update_by =", value, "update_by");
            return (Criteria) this;
        }

        public Criteria andUpdate_byNotEqualTo(String value) {
            addCriterion("update_by <>", value, "update_by");
            return (Criteria) this;
        }

        public Criteria andUpdate_byGreaterThan(String value) {
            addCriterion("update_by >", value, "update_by");
            return (Criteria) this;
        }

        public Criteria andUpdate_byGreaterThanOrEqualTo(String value) {
            addCriterion("update_by >=", value, "update_by");
            return (Criteria) this;
        }

        public Criteria andUpdate_byLessThan(String value) {
            addCriterion("update_by <", value, "update_by");
            return (Criteria) this;
        }

        public Criteria andUpdate_byLessThanOrEqualTo(String value) {
            addCriterion("update_by <=", value, "update_by");
            return (Criteria) this;
        }

        public Criteria andUpdate_byLike(String value) {
            addCriterion("update_by like", value, "update_by");
            return (Criteria) this;
        }

        public Criteria andUpdate_byNotLike(String value) {
            addCriterion("update_by not like", value, "update_by");
            return (Criteria) this;
        }

        public Criteria andUpdate_byIn(List<String> values) {
            addCriterion("update_by in", values, "update_by");
            return (Criteria) this;
        }

        public Criteria andUpdate_byNotIn(List<String> values) {
            addCriterion("update_by not in", values, "update_by");
            return (Criteria) this;
        }

        public Criteria andUpdate_byBetween(String value1, String value2) {
            addCriterion("update_by between", value1, value2, "update_by");
            return (Criteria) this;
        }

        public Criteria andUpdate_byNotBetween(String value1, String value2) {
            addCriterion("update_by not between", value1, value2, "update_by");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table area
     *
     * @mbggenerated do_not_delete_during_merge Wed Sep 13 10:33:35 CST 2017
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}